<div class="layuimini-container">
  <form id="app-form" class="layui-form layuimini-form">
      
      <div class="layui-form-item">
          <label class="layui-form-label required">用户昵称</label>
          <div class="layui-input-block">
              <input type="text" name="nickname" class="layui-input" placeholder="请输入用户昵称" value="{$row.nickname|default=''}">
          </div>
      </div>
      <div class="layui-form-item">
        <label class="layui-form-label required">头像</label>
        <div class="layui-input-block layuimini-upload">
            <input name="avatar" class="layui-input layui-col-xs6" readonly  placeholder="请上传图片" value="{$row.avatar|default=''}">
            <div class="layuimini-upload-btn">
                <span><a class="layui-btn" data-upload="avatar" data-upload-number="one" data-upload-exts="png|jpg|ico|jpeg" data-upload-icon="avatar"><i class="fa fa-upload"></i> 上传</a></span>
            </div>
        </div>
    </div>
          
    <div class="layui-form-item">
      <label class="layui-form-label required">手机号</label>
      <div class="layui-input-block">
          <input type="text" name="phone" class="layui-input" placeholder="请输入手机号"  value="{$row.phone|default=''}">
      </div>
   </div>
      <div class="layui-form-item">
          <label class="layui-form-label">性别</label>
              <div class="layui-input-block">
                  <input type="radio" name="gender" lay-filter="levelM" class="layui-input" value="0" title="男" {if condition="$row.gender eq 0"}checked{/if}>
                  <input type="radio" name="gender" lay-filter="levelM" class="layui-input" value="1" title="女" {if condition="$row.gender eq 1"}checked{/if}>
              </div>
      </div>

      <div class="layui-form-item">
        <label class="layui-form-label">是否商户</label>
            <div class="layui-input-block" >
                <input type="radio" name="is_merchant" disabled lay-filter="levelM" class="layui-input" value="0" title="否" {if condition="$row.gender eq 0"}checked{/if}>
                <input type="radio" name="is_merchant" disabled lay-filter="levelM" class="layui-input" value="1" title="是" {if condition="$row.gender eq 1"}checked{/if}>
            </div>
      </div>
      <div class="layui-form-item">
        <label class="layui-form-label required">身份证正面</label>
        <div class="layui-input-block layuimini-upload">
            <input name="front_ofidcard" class="layui-input layui-col-xs6" readonly  placeholder="请上传图片" value="{$row.front_ofidcard|default=''}">
            <div class="layuimini-upload-btn">
                <span><a class="layui-btn" data-upload="front_ofidcard" data-upload-number="one" data-upload-exts="png|jpg|ico|jpeg" data-upload-icon="front_ofidcard"><i class="fa fa-upload"></i> 上传</a></span>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label required">身份证反面</label>
      <div class="layui-input-block layuimini-upload">
          <input name="reverse_ofidcard" class="layui-input layui-col-xs6" readonly  placeholder="请上传图片" value="{$row.reverse_ofidcard|default=''}">
          <div class="layuimini-upload-btn">
              <span><a class="layui-btn" data-upload="reverse_ofidcard" data-upload-number="one" data-upload-exts="png|jpg|ico|jpeg" data-upload-icon="reverse_ofidcard"><i class="fa fa-upload"></i> 上传</a></span>
          </div>
      </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label required">驾驶证正面</label>
    <div class="layui-input-block layuimini-upload">
        <input name="front_license" class="layui-input layui-col-xs6" readonly  placeholder="请上传图片" value="{$row.front_license|default=''}">
        <div class="layuimini-upload-btn">
            <span><a class="layui-btn" data-upload="front_license" data-upload-number="one" data-upload-exts="png|jpg|ico|jpeg" data-upload-icon="front_license"><i class="fa fa-upload"></i> 上传</a></span>
        </div>
    </div>
</div>
<div class="layui-form-item">
  <label class="layui-form-label required">驾驶证反面</label>
  <div class="layui-input-block layuimini-upload">
      <input name="reverse_license" class="layui-input layui-col-xs6" readonly  placeholder="请上传图片" value="{$row.reverse_license|default=''}">
      <div class="layuimini-upload-btn">
          <span><a class="layui-btn" data-upload="reverse_license" data-upload-number="one" data-upload-exts="png|jpg|ico|jpeg" data-upload-icon="reverse_license"><i class="fa fa-upload"></i> 上传</a></span>
      </div>
  </div>
</div>
  
      <div class="hr-line"></div>
      <div class="layui-form-item text-center">
        <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
        <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
    </div>
  </form>
</div>
